home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000261_news@columbia.edu _Wed Feb 16 15:10:20 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03202
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:20 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA13409
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 14 Feb 2000 19:51:32 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. Message-ID: <38A8A0E1.F3D0118B@flash.net>
  10. From: LAIX Software Consulting <laixsoft@flash.net>
  11. Organization: LAIX Software Consulting
  12. Subject: Re: AIX 4.x UUCP lockfile directory?
  13. Date: Tue, 15 Feb 2000 00:45:47 GMT
  14. To: kermit.misc@columbia.edu
  15.  
  16. I believe installing the fileset bos.compat.links creates symbolic links for
  17. locations where files used to be in AIX 3.x to where they are located in
  18. 4.x.  I suspect it may include a link from /etc/locks to /var/spool/locks.
  19.  
  20. Best regards,
  21. Paul
  22.  
  23. Frank da Cruz wrote:
  24.  
  25. > In AIX, the preferred method for an application to obtain a lock on a
  26. > dialout device is with the (AIX-specific) ttylock() API.  This is
  27. > supposed to shield the application from having to know the details about
  28. > the lockfile location, name, and contents.  But of course, we still have
  29. > the same old silly scheme underneath.
  30. >
  31. > A user who recently installed C-Kermit 7.0, which uses ttylock() in the
  32. > politically correct manner, complains it can't obtain a dialout device:
  33. > "access to lock directory denied", even though Kermit's owner, group,
  34. > and permissions are the same as cu; even when Kermit is run as root.
  35. > (And no, they never tried to run cu.)
  36. >
  37. > It seems there is no /etc/locks on this computer.  My questions are:
  38. >
  39. >  . What is the lockfile directory used by ttylock() on AIX 4.x?
  40. >    It seems to be /etc/locks, but on the AIX systems I've seen, that's
  41. >    symlink to /var/locks.
  42. >
  43. >  . Are all AIX 4.x's supposed to have /etc/locks?  Is it supposed to
  44. >    be a symlink?  Is this symlink installed by default or do sysadmins
  45. >    have to put it there?
  46. >
  47. >  . If the real lockfile directory is /var/locks, why does ttylock()
  48. >    use /etc/locks?
  49. >
  50. >  . Are there differences among AIX 4.1, 4.2, and 4.3?
  51. >
  52. > - Frank
  53.